#include <iostream>
#include <cstring>
#include <algorithm>

using namespace std;

int main() {
    int n;
    cin >> n;
    
    for (int i = 2; i < 10000; i += n) {
        cout << i << endl;
    }

    return 0;
}
